﻿using System;

namespace Creator.Core.Log
{
    public interface ILog
    {
        /// <summary>
        /// 进行日志
        /// </summary>
        event Action<string,LogLevel> Log;
    }

    public enum LogLevel
    {
        /// <para>levle:1.普通信息</para> 
        /// <para>levle:2.警告信息</para> 
        /// <para>levle:3.错误信息</para> 
        /// <para>levle:4.严重信息</para> 
        /// <para>levle:5.异常信息</para> 
        Debug = 0,
        Information = 1,
        Warning = 2,
        Error = 3,
        Exception = 4,
    }
}
